@import "normalize.css";

html, body, #app {
  font-family: -apple-system, Microsoft YaHei, PingFang SC, Source Han Sans SC, BlinkMacSystemFont, Helvetica Neue, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif !important;
}

:root {
  &::-webkit-scrollbar {
    display: none;
  }

  -ms-overflow-style: none; /* IE 和 Edge */
  scrollbar-width: none; /* Firefox */
}

input[type="password"]::-ms-reveal {
  display: none;
}

input[type="password"]::-ms-clear {
  display: none;
}

.hover-text:hover {
  color: #039e40 !important;
  cursor: pointer;
}

.hover-box:hover {
  //color: #039e40 !important;
  //cursor: pointer;
  cursor: pointer;
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.2);
}

@for $i from 1 through 5 {
  .u-line-#{$i} {
    @if $i == '1' {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    } @else {
      display: -webkit-box !important;
      overflow: hidden;
      text-overflow: ellipsis;
      word-break: break-all;
      -webkit-line-clamp: $i;
      -webkit-box-orient: vertical !important;
    }
  }
}

.upload-modal {
  .ant-modal-content {
    height: 600px;
    padding: 30px 0 0 0;
  }

  .ant-modal-body {
    .title {
      height: 38px;
      color: #1c1c1c;
      font-size: 24px;
      font-weight: 400;
      line-height: 24px;
      margin-left: 30px;
    }

    .line {
      height: 1px;
      background: #D9D9D9;
      width: 100%;
      margin-top: 31px;
    }

    .cropper-box {
      display: flex;
      justify-content: center;
      margin-top: 26px;

      .left-box {

        .cover-box{
          width: 230px;
          height: 230px;
        }
        .operator{
          display: flex;
          justify-content: space-between;
          margin-top: 10px;
          align-items: center;
          .operator-left{
            color: #75c25b;
            font-size: 14px;
            font-weight: 400;
            line-height: 14px;
            cursor: pointer;
          }
          .iconfont{
            font-size: 20px;
            cursor: pointer;
            color: #9D9D9D;
            margin-right: 10px;
            &:last-child{
              margin-right: 0;
            }
          }
        }
      }
      .right-box{
        margin-left: 50px;
        .preview-cover{
          width: 80px;
          height: 80px;
          overflow: hidden;
          border-radius: 50%;
        }
        .tips{
          height: 28px;
          color: #1c1c1c;
          text-align: center;
          font-size: 18px;
          font-weight: 400;
          line-height: 18px;
          margin-top: 10px;
        }
      }

    }
    .confirm-box{
      display: flex;
      margin-top: 44px;
      box-sizing: border-box;
      padding: 0 40px;
      justify-content: space-between;
      .confirm{
        width: 200px;
        height: 60px;
        background: #53B332;
        opacity: 0.8;
        color: #ffffff;
        font-size: 24px;
        font-weight: 700;
        line-height: 60px;
        border-radius: 35px;
        text-align: center;
        cursor: pointer;
      }
      .cancel{
        width: 200px;
        height: 60px;
        box-sizing: border-box;
        border:  1px solid #000;
        opacity: 0.8;
        color: #666666;
        font-size: 24px;
        font-weight: 700;
        line-height: 60px;
        border-radius: 35px;
        text-align: center;
        cursor: pointer;
      }
    }
  }
}

.mmodal {
  .ant-modal-content {
    height: 500px;
    padding-top: 77px;
  }

  .ant-modal-body {
    .icon-tick {
      font-size: 100px;
      line-height: 1em;
      color: #53B332FF !important;
      //margin-top: 77px;
      text-align: center;
    }

    .title {
      font-size: 24px;
      font-weight: 700;
      letter-spacing: 0.72px;
      line-height: 35px;
      color: #1c1c1c;
      margin-top: 26px;
      text-align: center;
    }

    .tips {
      font-size: 16px;
      font-weight: 400;
      letter-spacing: 0.48px;
      line-height: 23px;
      color: #666;
      margin-top: 3px;
      text-align: center;
    }

    .btn {
      width: 400px;
      font-size: 22px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      border-radius: 10px;
      opacity: 0.8;
      height: 84px;
      background: #53B332;
      margin: 75px auto 0 auto;
      cursor: pointer;
    }
  }
}
